apiVersion: skaffold/v2beta19
kind: Config
build:
  artifacts:
  - image: smartdo-registry-cn.tuya-inc.com:7799/${tenant_code}/dev/${rootArtifactId}
    kaniko:
      dockerfile: docker/Dockerfile
      image: registry.cn-hongkong.aliyuncs.com/cmi/kaniko-project_executor
      initImage: registry.cn-hongkong.aliyuncs.com/cmi/k8s-skaffold_skaffold-helpers_busybox
  cluster:
    dockerConfig:
      secretName: docker-config
    pullSecretName: smartdo-harbor
deploy:
  kubectl:
    manifests:
    - k8s/*.yaml
